package entity

import "time"

type OrderRefund struct {
	ID                  int       `gorm:"column:id;PRIMARY_KEY"`
	OrderNo             string    `gorm:"column:order_no"`
	RefundNo            string    `gorm:"column:refund_no"`
	TransactionId       string    `gorm:"column:transaction_id"`
	RefundId            string    `gorm:"column:refund_id"`
	Channel             string    `gorm:"column:channel"`
	UserReceivedAccount string    `gorm:"column:user_received_account"`
	Amount              float64   `gorm:"column:amount"`
	Status              string    `gorm:"column:status"`
	SuccessTime         time.Time `gorm:"column:success_time"`
	Attr				string    `gorm:"column:attr"`
	CreateTime          time.Time `gorm:"column:create_time"`
	CreatedAt           time.Time `gorm:"column:created_at"`
}

func (OrderRefund) TableName() string {
	return "l_order_refund"
}
